package com.google.appengine.api.utils;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Transaction;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

/**
 *
 * @author Secondary User
 */
public class FutureWrapper<K, V> implements Future<V>
{
	//TODO: Implement this class??

	public FutureWrapper(Future<K> base)
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public boolean cancel(boolean mayInterruptIfRunning)
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public boolean isCancelled()
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public boolean isDone()
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public V get() throws InterruptedException, ExecutionException
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	protected Throwable convertException(Throwable cause)
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	protected Void wrap(Void nothing) throws Exception
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	protected Transaction wrap(Transaction t)
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	protected Entity wrap(Map<Key, Entity> entities) throws Exception
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}

	protected Key wrap(List<Key> keys) throws Exception
	{
		throw new UnsupportedOperationException("Not supported yet.");
	}
}
